package com.prs.crm.vo.flow;

public class FlowRelation implements java.io.Serializable{

	private static final long serialVersionUID = 1L;
	
	private FlowNode startNode;
	
	private FlowNode endNode;
	
	public  FlowRelation(FlowNode startNode,FlowNode endNode)
	{
		this.setStartNode(startNode);
		this.setEndNode(endNode);
	}

	public void setStartNode(FlowNode startNode) {
		this.startNode = startNode;
	}

	public FlowNode getStartNode() {
		return startNode;
	}

	public void setEndNode(FlowNode endNode) {
		this.endNode = endNode;
	}

	public FlowNode getEndNode() {
		return endNode;
	}

}
